package br.com.massai.model.repository;

import java.util.List;


public interface GenericRepository<T> {

	void criar(T entity) throws Exception;
	void excluir(T entity) throws Exception;
	T atualizar(T entity) throws Exception;
	T obterPorId(Long id) throws Exception;
	List<T> obterTodos() throws Exception;
}
